Added better error message when proto files could not be opened.