Fix asset specs and handle S3 exceptions