Fix a warning when deleting the file currently played.