Fix hashCode method for FileFilterExtensionFilter and its unit test.