Fixed a bug when trying to create subdirectories for file type externs unnecessarily.