transfer: fix File.delete