BUG: fix download for 5D images