Upgrade curl checks to avoid issues with non-zero error codes on older curl. chapmanb/bcbio-nextgen#207