Display a detailed error message when file cannot be saved
Currently, if there are some issues with writing the annotations file to disk (example no write permissions), it will just print "failed to save annotation" without displaying any errors (or potential fixes). This can be improved to something like "Cannot save annotation: " where message can be "Missing write permissions."