re #304 fixed bug with NotFound for downloading files