Proper handling of redirections (see https://github.com/fguillot/miniflux/pull/82)