Fix problems with unicode file names

Depending on terminal encoding and/or if you call dockutil with xargs it might screw up writing the plist, since it cant encode the two-/treebyte encoded unicode chars from 'ascii' when the values ar above 0x7F.