script/Rakefile: better error reporting and output