Use fs.write in the example for clarity.

Leave the try/catch block.

use fs.write in the coffee example as well