CRM-15365 Fix directories on Windows Server

Fixes for CRM-15365 - Problems changing directories through the UI