Revert "Use encoding='ascii' as default for function calls"

This reverts commit ce25935e0a28c1c9687ca138a0111349554adb87.
Use default encoding of io.open

This makes the behaviour platform specific, but it can be hoped that the
actual encoding used is not of much importance (for most cases).