Use dc correctly

The "bug" converting from base 6 to base 16 was that I set the output
base after setting the input base, so dc read the output base as a
base-6 number.