Detect trailing slash on specified output directory