Adapted filecheck and scriptrunner for nightly test

Nightly test failed but exited with 0. Changed files so failures and
errors will be recognised and non zero exit code will be returned.
stderr-string disappeared enigmatically after run_script(). Tried to
copy string by "".join() but it disappeared still. In case of error the
output will be printed now within the method.