Fixed bug when transfering non-text files.
Fixed bad saving of the bool vector, which caused many many reallocations