cache thrift_file load

cache thrift_file load
use '_' prefix for private functions.

`_load_cache` and `_dump_cache` would be better.