Serialize settings to filesystem