inject spaces where needed in file path