Regenerate directory listings to remove newlines