fix _findRedirectUrl.

 * redirect_url get from HEAD 'Location'
 * fix for putFile().