Fixed the bug of not being able to load protobuf from binary file.