8048505: ScriptingFunctions.readFully couldn't handle file names represented as ConsStringsReviewed-by: sundar, hannesw