Special handling for filenames with spaces in R <= 2.15.2

Fixes #20.