create Sub Directory
Makes a Path to the named subdirectory within the base directory
Return
a path to the created subdirectory, or the base directory if something went wrong in the creation. Any problems are logged.
Parameters
dir Name
the name of the subdirectory to create. It must not be null