Update usage of FileHash (new API).