[BUGFIX] Check existence of cache files before require

Sometimes an adminstrator clears the cache files in a moment when
another one just tries to require them. Therefore file existence should
be checked before each requirement.

Change-Id: Ia79b8dd7b8943297edfe9e3ac657db1faf151fde