Fix UnicodeDecodeError (#342)

http://coherence-project.org/ticket/342