Allow URL redirection when downloading a file

Fixes #586

Reviewed By: Jeffrey Heifetz <jheifetz@rim.com>
Tested By: TRUST ME