make portable paths for command in tests