Validate s3credentialsFile and fall back to DefaultAWSCredentialsProviderChain

Added some functionality to validate the readability of the file set in `s3credentialsFile`, plus fall back to `DefaultAWSCredentialsProviderChain` if the credentials cannot be read from the file. This makes possible to lookup the credentials provided by the IAM instance profile on an EC2 instance.