workaround for failed "get" commands

Sometimes commands like wget fail to download a file and create a file with 0 length instead
The next time agent runs it will see the file and won't retry to download it again.
It's hard to imagine someone would ever want to stage an empty file, so this
workaround should work in general cases