add trailing newline
add leading zero for ->hex results and make ->hex produce upcased strings