Fixed bug where tempoary files are not cleaned up correctly
Merge branch 'dev' of https://github.com/pmlrsg/plotting-service into dev