fixed issue with timestamp and DST

Current implementation used datetime.fromtimestamp to calculate microseconds from epoch,
however it is unaware of DST (without explicitly setting tzinfo- datetime's dst is always None).

I switched to time.mktime which is aware of the locale DST.

This should be the correct solution for #167