class_docstr: Saves an image to file. Useful as a pass-through transform
  when wanting to observe how augmentation affects the data
  
  NOTE: Only supports saving to Numpy currently
  
  :param root: (string):
          path to main directory in which images will be saved
code: def __init__(self, root):
      if root.startswith("~"):
          root = os.path.expanduser(root)
      self.root = root
      self.counter = 0
  
imports: import os
  import random
  import math
  import numpy
  import torch
label_desc: Use image node_id 1 to create a new ToFile object  with example: obj = ToFile(root)