fixed encoding bug in Mojo::Log (closes #495)