code: func ReplaceExtension(path string, newExt string) string {
  	f, _ := fileAndExt(path, fpb)
  	return f + "." + newExt
  }
docs: // ReplaceExtension takes a path and an extension, strips the old extension
  // and returns the path with the new extension.