Make sure stats is available before using it.
Revert to older librato version.