detect file size modification for polling

polling did not work (at least for a win32 environment)