Fixed error with unicode convertation for binary files