python: Globally replace codecs.open() by open()
I used codecs.open()
during the migration to Python 3 because it was
the only method that worked from Python 2.4, which was the minimum
version back then. Python 2.6 added io.open()
which has meanwhile
transitioned to builtin open()
in Python 3 and is the recommended way
of opening UTF-8 files.