repalce path related functions in utils.dart with 'package:path'

Fix https://github.com/dart-lang/spark/issues/510
TEST=./grind compile, `Run Tests` from menu.