Update timestamp utility method to take an argument

The timestamp previously had a hardcoded format. This commit updates the
timestamp to allow an optional separator, which provides at least some minimal
flexibility.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>