Don't use io.open

I have left it in when an encoding other than utf-8 was used, but made it
explicit.