Reimplement do_open