Detect IO errors in save