Fixed scripted newer command

The scripted newer command was effectively a noop, it always passed
because it returned false instead of throwing an exception when it
failed.

Implemented specs for most of the scripted file commands as well.
Merge pull request #1419 from jroper/fix-newer

Fixed scripted newer command