Replace space with underscore for web safe string