cache thrift_file load

can't pickle a module.
so cache the parse result not the load result.
parse cost 99.99% time...
for a 3000 lines thrift file.below is Benchmarks

use_cache
0.130244016647
no_cache
16.4472739697