additional debug statements added to 'uploadChunk' to zero in on 'bad file descriptor errors'
additional debug statements added to 'uploadChunk' to zero in on 'bad file descriptor errors'

databrary/databrary,databrary/databrary,databrary/databrary,databrary/databrary