I get an error on Heroku with this because it's trying to access the destination folder that isn't available on Heroku.