Allow only .proto file extensions to be compiled.