support truncate suro file hourly/daily

#133
Could you add a unit test case for this class?