fix termio_darwin.go bug: os.Error undefined in go 1.1