Added check for files to be deployed modification date

To not deploy files unless they're newer than existing deployed files,
added some checking.