test and fix for mmap'ed datetime64 arrays