Fix read-only access again

Just tweak mmap flags, don't write header back on close etc.