[fixes 1] utf-8 encoding of mock_open data