giscanner/cachestore.py: Clean up a bit

Use the special os.path.expanduser('~'), as it it more portable, instead of
quering the HOME or HOMEPATH envvar.

https://bugzilla.gnome.org/show_bug.cgi?id=732668