Fix file transfer test.