remove spaces from path