Performance: Use protoc from python module instead of subprocess, only run in subprocess on error to get the message