files: beep whenever writing out a file fails

Just like when reading a file fails.  It needs the user's attention.
2 files changed