safely remove output_file, which may not exist