open version file with codecs.open (see pull request #61)