Remove #extract_text from AttachmentData

it's only used in the rake task.

Also made the rake task logging better.