code: func DecodePathBytes(path []byte) []byte {
  	var expression = regexp.MustCompile(`\\[0-9]{3}`)
  	var buffer bytes.Buffer
  
  	// strip quotes if any
  	if len(path) > 2 && path[0] == '"' && path[len(path)-1] == '"' {
  		path = path[1 : len(path)-1]
  	}
  
  	base := 0
  	for _, submatches := range expression.FindAllSubmatchIndex(path, -1) {
  		buffer.Write(path[base:submatches[0]])
  
  		match := string(path[submatches[0]+1 : submatches[0]+4])
  
  		k, err := strconv.ParseUint(match, 8, 64)
  		if err != nil {
  			return path
  		} // abort on error
  
  		buffer.Write([]byte{byte(k)})
  		base = submatches[1]
  	}
  
  	buffer.Write(path[base:len(path)])
  
  	return buffer.Bytes()
  }
docs: /**
   * Revert non ascii chracters escaped by git or windows (as octal sequences \000) back to bytes.
   */