archive.py: open the cache as a binary file

`write' throws an UnicodeEncodeError when it encounters the `ü' in `Adam's Gamehaüs'.