cache thrift_file load

cache thrift_file load
this is just `return version == current_version`, so this function can be removed since it's only one line.