afero
afero copied to clipboard
Handle errors from closing writable Files
Close might do some flushing, so failures to Close might cause data loss.
We should probably also check all Close() calls of read-only files, but I'm not aware of any data loss possibilities by ignoring those.