inTmpDir: restore original behavior of inDir