Create caches directory if it does not exist

This is needed when we run iOS specs outside of the simulator, for
instance in Travis CI or via rake