Fix curl follow location bug with open_basedir

See https://github.com/marienfressinaud/FreshRSS/issues/669