Fix crash when renaming multi-episode video files