Fixed subdirectory creation when extracting.

Changed the make_directory_structure function to use os.path.makedirs, which recursively creates the directory structure rather than iterating over the directory list (which was also broken).

Also removed some leftover tabs on otherwise empty lines.