Fixed bug that broke the extension directory on Windows machines

Fixed bug that broke the extension directory on Windows machines.  (Anyone know of any other issues this might cause by accepting spaces here?)