Increase array size to fix crashes on some devices
diff --git a/twrp-functions.cpp b/twrp-functions.cpp
index b121c8a..3a2658e 100644
--- a/twrp-functions.cpp
+++ b/twrp-functions.cpp
@@ -186,7 +186,7 @@
 	DIR* d;
 	struct dirent* de;
 	struct stat st;
-	char path2[1024], filename[1024];
+	char path2[4096], filename[4096];
 	unsigned long long dusize = 0;
 
 	// Make a copy of path in case the data in the pointer gets overwritten later