Check if path exists, if it does add number to path (incrementing until
  a unique path is found).

  Parameters
  ----------
    path : string
      Path of directory to try.

  Returns
  ----------
    string
      Path of unique directory.

def CheckPathExists(path):
  """
  Check if path exists, if it does add number to path (incrementing until
  a unique path is found).

  Parameters
  ----------
    path : string
      Path of directory to try.

  Returns
  ----------
    string
      Path of unique directory.
  """
  i = 0
  root, ext = os.path.splitext(path)
  while os.path.exists(path):
    i = i + 1
    goodlogging.Log.Info("UTIL", "Path {0} already exists".format(path))
    path = "{0}_{1}".format(root, i) + ext
  return path