textmarc2xmlmarc: fix handling of BOM
- When textmarc2xmlmarc is provided with a file that was created e.g. in Windows, and a BOM sequence exists at the beginning of the file, these should be skipped when handling the file in Python.
- Improves reporting of error messages.