Merge branch 'master', remote branch 'origin/master'
fix getFiles as it required DirectStageout. Fixes #4571
Merge pull request #4575 from juztas/fix_getoutput

fix getFiles as it requires DirectStageout. Fixes #4571