index2 modification time save as a string type

This temporarily fixes https://github.com/dart-lang/spark/issues/1188

@gaurave, @devoncarew