Backport unicode fix

Addresses issue #278 for h5py 2.1 on platforms with the C locale.