Fixed a bug reading project files in some systems due to the Byte Order Mark (BOM) before the prolog.