Python unit tests: Don't leave file in /tmp