Merge pull request #514 from negativeExponent/fopen_utf8