Pass a default mode to open().