Ensure that paths are escaped when validating

Otherwise, when running `berks upload` in paths with spaces in you get ruby validation errors.