fixed double slash when downloading a file which is in root path