Cleaning up IOManager._handle_io_manager_directive().

Method now returns '>', '>>', '<', '<<' as appropriate.