Recopy css if it has been modified.

Extracted helper function to check modification times, moved css copying into `format_files`.