Simplify unmap() impl and make test use file offsets.