Fixed problems when flux was placed in a path with spaces in folder
names.