Cleanup temporary file