tests: Add basic test for unicode file i/o.