Convert multi level namespace to correct directory separator