Cache dir now resolves ~ to user's home dir