Try to stop empty files being written on Heroku