tmpdir was a relative path when not specified