Test if resized files are older than the source files and regenerate
if necessary
Refactoring
- Extracted `resize` method for better legibility
- Fixed a spacing bug when re-resizing images in log
- Replaced fs.statSync with fs.stat