Prepare a DirectoryCatalog
Fixed crlf normalization