fixed invalid byte sequence in UTF-8 - See http://projects.puppetlabs.com/issues/10291