modified jdk6 bloomfilter serialization to jdk7 way