Ignore file extension difference for text/plain attachments (#1488891)