Fixed Feature TDI-30115: Not able to extract attachment PDF files from
msg file with tFileInputMail
https://jira.talendforge.org/browse/TDI-30115
Note:Optimize the code.