pagemap: proper read error handling