Import open from codecs module