code: function(fsPath, strict) {
  		if (!_.isString(fsPath)) {
  			throw new TypeError('path must be of type string');
  		}
  		var segments = _.filter(fsPath.substring(fsPath.indexOf(path.sep) + 1).split(path.sep), function(segment) {
  			return segment !== '';
  		});
  		for (var i = 0; i < segments.length; i++) {
  			var replaceWith = module.exports.reformatSegment(segments[i], strict);
  			var find = util.format('%s%s', replaceWith === '' ? path.sep : '', segments[i]);
  			fsPath = fsPath.replace(find, replaceWith);
  		}
  		return fsPath;
  	}
docs: Reformat fs path to be valid
  
  @param  {String} fsPath
  @param  {Boolean=true} strict
  @return {String}