Minor fix for notepad path handling