Fix utf8 decoding on perl 5.6