Check for existance of directory before attempting to create it