TIBCO Spotfire data function that uses a TERR script returns 'Error in open(con, "rb") : can only open URLs for reading'