Add write buffer for tar writes

update fuse to 2.9.2

catch return from unlink so that we don't print error messages when things work
Change-Id: I1115039a0fa5d9d73f78ef1abd79755d7ffd9d96
diff --git a/twrp-functions.cpp b/twrp-functions.cpp
index f2dcf7c..fa2110a 100644
--- a/twrp-functions.cpp
+++ b/twrp-functions.cpp
@@ -411,7 +411,6 @@
 	if (d) {
 		struct dirent *p;
 		while (!r && (p = readdir(d))) {
-			LOGI("checking :%s\n", p->d_name);
 			if (!strcmp(p->d_name, ".") || !strcmp(p->d_name, ".."))
 				continue;
 			new_path = path + "/";
@@ -426,8 +425,9 @@
 				}
 			} else if (p->d_type == DT_REG || p->d_type == DT_LNK || p->d_type == DT_FIFO || p->d_type == DT_SOCK) {
 				r = unlink(new_path.c_str());
-				if (!r)
-					LOGI("Unable to unlink '%s'\n", new_path.c_str());
+				if (r != 0) {
+					LOGI("Unable to unlink '%s: %s'\n", new_path.c_str(), strerror(errno));
+				}
 			}
 		}
 		closedir(d);
@@ -471,4 +471,4 @@
 	else if (st.st_mode & S_IFSOCK)
 		return DT_SOCK;
 	return DT_UNKNOWN;
-}
\ No newline at end of file
+}