Don't read files literally. Should fix #741

This causes problems when we read in utf-8 and then try to dump the
contents back out. Utf-8 characters get read in as if they are ascii.

I'm not sure of the consequences of this though. Because it turns out that the `archive.json` file does not come out at utf-8. Is this a json issue?