Change default open() flags to OpenFlags.NONE