P_tmpdir does not have trailing / on Linux.