[PLXCOMP-241] Don't assume sub-second timestamp granularity in ResourcesTest

Some operating systems or file systems may support file time stamps
with one second granularity. On such systems ResourcesTest.compare
would fail.