Fix yardoc indentation.
Guard against invalid io arguments.