removes global strio variable from spec helper
fixes deprecation warnings in specs