Check if saving was actually successful and report

Implement the wrapper and the actual saving of the file in an extra helper function, since this function can be called from three different files. This addresses issue #20 .

Also add a warning message if an unwritable file is opened in the class ConfigManagerTwoLine.