fix issue #6: example: Upload a file, then when completed hit CANCEL button anyway

Make sure none of the system functions used by BigUpload will output undesirable E_WARN HTML output and check return error codes rigorously and report these to the frontend.