Changed "open" to "codecs.open"

Related to https://github.com/lingpy/lingpy/issues/4