Fixing up temporary directory settings