have a user_agent const.

Related: RhBug:923384
create the cache dir ourselves.

So we have the permissions under control.
New version: 0.3.0
New build: 0.3.0-1