Preserve modification time of gallery files