[SPARKR-147] Support multiple directories as input to textFile.

https://sparkr.atlassian.net/browse/SPARKR-147