def create(self, path):
fpath = os.path.join(self.tempdir, path)<EOL>if not os.path.exists(os.path.dirname(fpath)):<EOL><INDENT>os.makedirs(os.path.dirname(fpath))<EOL><DEDENT>open(fpath, '<STR_LIT:a>').close()<EOL>return fpath<EOL>
Create an empty file in the temporary directory, return the full path.