write to a temporary file
1.1.0