Fixes for latest SDK
removed uses of deprecated dart:io Path class