Refactor the spec runner binary.