Fix StegoTool to work with Java ints.