Optimise out multiple fsPath() calls
Optimise out multiple fsPath() calls

Replaces multiple fsPath() calls with a variable counterpart.

Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code