[GEOS-5891] REST config upload fail in path with spaces