Fixing concat vs addition issue in the debug output of upload directory