Define hack for open() to deal with undefined and omitted being different for async due to legacy. https://www.w3.org/Bugs/Public/show_bug.cgi?id=23564