Use tempdir for large file

NamedTemporaryFile files can't be reopened on Windows.

but as nobody knows how windows filesystems work also just skip the test. We are using the 64 byte api so it should work.
cleaned up version of gh-4927