Fixed a not defined bug with resumable upload handler.
Merge pull request #1395 from reinhillmann/bugfix

Fixed a "not defined" bug with resumable upload handler.