Cleanup StoreFileMetadata.java

StoreFileMetadata.java uses a `isSame` methods which is essentially `equals` I think we should clean it up and also provide a `hashCode` implementation.
not sure what you mean here - what would make x R x` not work for x` R x