Volume: fix random errors at mmap files. See #308