Allow '_' and '-' in devices paths