remove 'cwd' hack; not needed; use codecs.open