Fix open().

Issue #53.