Optimize file transfer tests in test_vm.py

Lets please log the exception here before returning False