Don't print a `file has been written` message unless it actually has