encode the project name to handle spaces