fix for timestamp_to_datetime and unsign issue

fixes #3