Fix download 130821

This is a rather urgent fix in order to get jobs getting their input data from any available cached replica.