- hack to work on 32bit php
 - added a closure param to chunked uploader to get progress of the upload