Fix resource loading failure

If FOG_DIRECTORY (the AWS S3 bucket name) contains dots "." they are
interpreted as subdomains making the certificate for *.s3.amazonaws.com
useless.

Note: this solution uses link to resources in the form
s3.amazonaws.com/<bucket>, it works only for US standard zone buckets.

See #88