put covertToUTF8 in it's own module

see suggestion in #10