TST: avoid opening files twice which doesn't work on windows
DOC: remove mktemp mention from f2py manpage
Merge pull request #4299 from juliantaylor/win-tempfile-fix

Windows tempfile fix