Added explicit conversion to UTF8 in get bytes for braindead operating systems that don't work on UTF8 by default. #sigh. Might fix #780