Endianness corrections (not that it really matters much)

Note: htole*() and le*toh() are no-ops on Intel x86 processors. They
      are only included for the sake of completeness. I doubt anyone
      is going to be building this code for a big endian processor,
      but just incase they do...
Indentation correction
Show minutes and seconds with leading zeroes.