fix error checking for open
actually use the zero page in the mmap