Fixed some random folders occuring when copying files