Convert PATH type environment variables to spaceless versions