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.