Fixed dump for directories.