Returns a write stream to a new temporary file