if (!Glib::file_test (directory_path, Glib::FILE_TEST_IS_DIR)) {
if (g_mkdir_with_parents (directory_path.c_str(), 0755) != 0) {
error << string_compose(_("Error: could not create directory %1"), directory_path) << endmsg;
if (!Glib::file_test (directory_path, Glib::FILE_TEST_IS_DIR)) {
if (g_mkdir_with_parents (directory_path.c_str(), 0755) != 0) {
error << string_compose(_("Error: could not create directory %1"), directory_path) << endmsg;