Stats export improvements
Change environment variable used to make filenames on S3
Merge pull request #563 from enspiral/feature/user-stats2

Stats export improvements