Fix for transfer of binary files