Follow the Freedesktop spec for thumbnails location

According to the [Freedesktop specifications for thumbnails](http://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-latest.html#DIRECTORY), the thumbnails directory should be stored in `$XDG_CACHE_HOME/thumbnails`, not in `$HOME/.thumbnails`. This fixes that.