Mat byte array to hex string using apache commons.