Fix device -> PC file transfer resulting in corrupted files