Handle any capitalization of NUL in os.open.