Fix attachment filename and title scrubbing