## Overview If downloading fails because of insufficient disk space, `.part` file remains and is not removed. ## Steps to Reproduce 1. Sync iCloud Photos on a device with insufficient disk space. 2. Downloading should fail on some files, logging `IOError while writing...` ## Expected Behavior The `.part` file should be deleted after downloading fails. ## Actual Behavior The `.part` file remains. ## Context I think we can add a try-finally block in `download_response_to_path` to remove the `.part` file on error.