HBASE-7604 Remove duplicated code from HFileLink