remove path related function from utils.dart
feedback for remove path patch
Merge pull request #548 from sunglim/remove_path_util

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