Fix bug when importing files encoded in UTF-8 with Byte Order Mark

I have had problems when importing a CSV file which was encoded in UTF-8 but included Byte Order Mark.
Just wrote a fix that strips the initial bytes of it if present. You may be interested in merging.