in reply to redirecting STDERR, then back again
I presume that if you saved a copy of the filehandle you wanted to restore:
my $restore = \*original; [download]