Improving the logic of the Attachment parsing to make it more efficient... Probably this will fix AXIS2-1970