Add trailing slash if missing

$checkDir did not contain a trailing slash on OS X Yosemite so $cdnJsonPath was '.../path/to.cdn.json' instead of '.../path/to/.cdn.json'