The directory path was being passed to Script.new rather than the file in the
directory. This bug was reported by Robin Wood [1].

[1] http://seclists.org/nmap-dev/2013/q2/282