Fix cache reading and writing
Fix cache reading and writing

We can get away with this for now because "seen" is the only supported
flag.

- separate flags with ; rather than :
- store values as key=value rather than key:value
- do not store keys where the value is false

ToxicFrog/EmuFun