adding phedex nodes to the listFileBlockLocation

Had to remake this pull request as the master had changed under the last one and couldn't be merged.
This fixes issue #5167
Can we adopt the same variable naming scheme and use phedexNodes here and elsewhere?