added catch so zip files are not treated as directories and also imported urllib to parse zip file names correctly
added catch so zip files are not treated as directories and also imported urllib to parse zip file names correctly

mjrulesamrat/xbmcbackup,robweber/xbmcbackup