Fix crash when importing a file called subs.srt.txt.