Fix unnecessary screen refreshing

Apparently, the st_mtime attribute of a os.stat call is not the same as the corresponding tuple element (float vs. integer).
This caused unnecessary refreshes. Fix is to coerce to int.
Fixes issue #1.