Turns out there is also an issue with the _tmp directory not being created in the production case. I'll need to make another change...