handle space in path in function RAddToFunList

Previous ``RAddToFunList`` fails if there is a space in ``fnf[0]``.