Fix #820: Properly escape script file names in PhantomJS runner