added output-file option

hi, 

I have added the ```--output-file``` option for more convenience while testing downloading of files.
I had the problem that a redirect of the script stdout contained some ruby output preceding the actual content.

cheers
alex