ECMS-5268: Exception when upload file with * character

Link issue: https://jira.exoplatform.org/browse/ECMS-5268
Fix description: Encoded filename before check the existence by calling hasNode();