correction of the downloaded files for b2g