Fixed bug for new installations.

When installed for the first time, a FileNotWritableException was thrown making
configuration impossible.