Fix for NUTCH-1950 File name too long contributed by xzjh <jsxzjh@gmail.com> and Chong Li. This closes #9.