Ensure basename parameter is wrapped with speech marks.

This fixes a problem where fsharp doesn't work when installed in progra~1