handle error when script does not receive a HiveJob-like object
allow passing aws credentials to S3 utils methods
enabled pass-through of aws credentials
fixed handling of scratch/temp dir values