Exercise 5.3 from The Linux Programming Interface by Michael Kerrisk. This exercise further investigates the atomicity of O_APPEND