Files containing spaces in their path are wrongly encoded

This is due to a bug in the Java GitLab API for which a pull request has been submitted: https://github.com/timols/java-gitlab-api/issues/331

Edited by slauriere