virt dir read() correction, fixes memory leak in addFile()