log the command that failed on ProtocolInvalidError so you can see which host has problems
rename "process" to "process_file" as "process" also meant other things in other contexts.  rename "ready" to "next_file" to make way for the concept of sub-file readiness.  rename "example count" to "test count" as "examples" is an rspec-specific concept.