Fix sys.exit() bug
Add root filename escaping

At this time, the CLSI server will not compile a root file that
contains a space. This fixes the issue by escaping all spaces in the
root filename.