add numpy.memmap support