added rewind() method

so you can loop through the attachments once again...