change timestamp generation

Changes based or recommendation on issue https://github.com/Sherish/ruby-shutterfly/issues/1