added drupal_mkdir() calls for creating parent dirs back in.