Also minor fix to edit-textfile to accept Path named property as input (cherry picked from commit 272d3f91af836d094d5e19a14fbfa06331677eda)