[PLXCOMP-178] Last modified time preservation

Patch by David Tombs, applied unmodified