CRM-15365 - Windows Directory Fixes

CRM-15365 - Fix problems with adjusting directories through the UI