Only try to delete the origin file if it exists (prevent a warning being
thrown).