move joinPaths to utils.cpp

Change-Id: I8012fa004d174ddf42086b109caab3f2d7857d1e
diff --git a/src/utils.cpp b/src/utils.cpp
new file mode 100644
index 0000000..38bfe7d
--- /dev/null
+++ b/src/utils.cpp
@@ -0,0 +1,16 @@
+/*
+ * Copyright (C) 2018 CESNET, https://photonics.cesnet.cz/
+ * Copyright (C) 2018 FIT CVUT, https://fit.cvut.cz/
+ *
+ * Written by Václav Kubernát <kubervac@fit.cvut.cz>
+ *
+*/
+#include "utils.hpp"
+
+std::string joinPaths(const std::string& prefix, const std::string& suffix)
+{
+    if (prefix.empty() || suffix.empty())
+        return prefix + suffix;
+    else
+        return prefix + '/' + suffix;
+}