Fixed delete folder in 'thumbs' folder

This update fixes the issue with the folders and subfolders not beeing deleted in the 'thumbs'-folder