Updated download/upload tasks to use session instead of GSContext