Check that the signature file is readable before appending it.
This changes the behavior of the script when the signature file is NOT
readable:
- before this change the old signature would be removed even if the
new one could not be read;
- after this change the buffer content would not be changed if the new
signature could not be read.