fixups for base bumped to https://github.com/koreader/koreader-base/pull/1201 otherwise tilecache breaks