Windows-friendly getFullPath.