lib: when inmemory true, still populate file.path
docs: updated inmemory docs