Fixed a bug when trying to extract folder(s).