Implement os.tmpdir() method