Fix encoding problem

Read description here: https://github.com/gaubert/gmvault/pull/149