Catch correct exception when trying to delete a non-existing file.