common: fix format strings for off_t and uint64_t

This fixes some warnings when using 32-bit compiler.
Merge pull request #41 from krzycz/common-print_formats

common: fix format strings for off_t and uint64_t