'Write L{content} to a new temporary file, returning the L{FilePath}
for the new file.'

def writeScript(self, content):

    path = self.mktemp()
    with open(path, 'wb') as f:
        f.write(content.encode('ascii'))
    return FilePath(path.encode('utf-8'))
