Fix format_print invalid arguments
Merge pull request #162 from pavel-belikov/format_cmd_fix

Fix format_print invalid arguments
using stdint datatypes in cache, introduced reserved space
cache version defined as a macro