vmem: do not pass NULL to (s)printf(%s)
Merge pull request #99 from krzycz/vmem-sprintf

vmem: do not pass NULL to sprintf("%s")