Fix crash on start when `tmp/` doesn't exist