if code directory is not writable, store parser generated files in the default python tempdir