Currently, there are a few separate jobs sharing limn-mobile-data's generate.py script to run ad-hoc SQL on stat1003: https://github.com/wikimedia/operations-puppet/blob/production/manifests/misc/statistics.pp#L851
But because of the way generate.py works, they are all trying to share the same history.json file: https://github.com/wikimedia/analytics-limn-mobile-data/blob/master/generate.py#L115 which just gets written to the CWD.
So, factor out the path of history.json to a parameter and update puppet to pass in an appropriate path (root of the repository is fine, we can put it in .gitignore)