Fixed: do not send Range request header when encounter error.

Conflicts:
	xbmc/filesystem/CurlFile.cpp