Guarantee mtime change for dynamic app files

Dynamically created files with time difference less than a second
are not detected as changed by reloader, sporadically breaking tests
(updated on 3-2 only as it affects mostly 1.8.7 railties suite)