Fix Bug for Mac get/set filepath where space is converted to %20