Change dtype from object so we can use numpy.memmap