we might need to wrap the path in string_utils::utf8ToSystem (since we are passing it to R which expect system encoded strings)