Fixed importing text files with FireFox.