fix problem with improper recursive calling of file moving after download