Add the support for user specified dict path and fix the problem that some hadoop versions do not support umask attribute.