Removes NamedTemporaryFile.

- NamedTemporaryFile wasn't needed.  The file open can just take a string,
  although it still returns an error on the console.