Allow URL redirection when downloading a file