Merge branch 'master', remote branch 'origin/master'
Failed to contact PhEDEx
In previuos pull request was everything fine. But as a last test I was doing every time getoutput and getlog
After jobs started finishing, in one time I got that output cannot be encoded from PhEDEx in another everything succeeds.
This pull request fixes:
a) For old tasks use the same outtmplfn as outlfn
b) Order correction in Filemetadata and added comment for future
c) More debugging information.
Merge pull request #4579 from juztas/master

Failed to contact PhEDEx (getoutput, getlog)