Chapter 7 / 7 - fix subtle error involving

strlen() vs sizeof() and lack of terminating zero.
Chapter 7 / 7 - RAII idiom

let fd close itself upon destruction.
Chapter 7 / 8
Chapter 7 / 10 - a bit overdone ;-)

Nothing new in Chapter 7 / 9.