Setup image cache dir properly