index2 modification time save as a string type

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