Throw IOException during save

@angathorion please implement the catch block on the GUI level thanks! It may be thrown every time Create, Update, and Delete queries are executed