Add the support for user specified dict path and fix the problem that so...

...me hadoop versions do not support umask attribute.