Under Windows NamedTemporaryFile isn't accessible

We need to tell it not to delete the file and then manually clean up
afterwards. Under windows the file is removed immedietly and thus wont
exist when we try to access it.