Fixing tmp file for unicorn