Resolved issue with inability to parse non-UTF-8 catalogs

Resolved issue with inability to parse non-UTF-8 catalogs. Internal logic changed: now passing IO object (not String) to Nokogiri XML Parser. Changed corresponding specs.