Fix file downloading in Safari.