Fixed Download Link Generation in nested directory