Print error message when to-be-downloaded file cannot be created