Fix call to sprintf to specify a lu along with casting size_t to unsigned long