Add public method to force file rotate

It can be usefull to force to rotate files used.