code: func SafeCreate(name ...string) (file *os.File, err error) {
  	p, e := ensurePath(path.Join(name...))
  
  	if e != nil {
  		return nil, e
  	}
  	return os.Create(p)
  }
docs: // SafeCreate creates a file, creating parent directories if needed