Update attachment.rb

Add explicit unlink to intermediate files from processors.