'fs' is only required if Amazon Cloudfront is selected

`var fs = require('fs');` can be put inside the conditional for Amazon S3, since it's not needed otherwise.