Additional error checks in S3_PING

- Log an error if writing a file to the S3 bucket fails
- Validate the usage of the prefix property
Merge pull request #130 from alanfx/t_s3_ping_error_checking

Additional error checks in S3_PING