Fix to allow directories with spaces to display properly