snapshots: return error codes on failure loading or saving

Also support this in RR.