SparkR: fix directory-related hints, etc.