Fix UTF-8 encode on security db file download

Using your db updater on another process like Sidekiq throw this following error on file download: 

```
Encoding::UndefinedConversionError: "\xE6" from ASCII-8BIT to UTF-8
```

For file downloading, it's better to open the file on binary mode `b`.

This PR fixes this issue.

Thanks.