Fix attachment.get to suport headers to request Ranges