image/documents downloads fixes