Fix #232 (#114)
Fix #232 (#114)

* Addressed reviews on github: add comments why we set up umask(0) and dropped the line of #inclde<sys/types.h> because the value passed to value is 0, instead of enum from types.h

JoyIfBam5/aws-sdk-cpp,JoyIfBam5/aws-sdk-cpp,jt70471/aws-sdk-cpp,cedral/aws-sdk-cpp,aws/aws-sdk-cpp,cedral/aws-sdk-cpp,svagionitis/aws-sdk-cpp,aws/aws-sdk-cpp,JoyIfBam5/aws-sdk-cpp,cedral/aws-sdk-cpp,jt70471/aws-sdk-cpp,cedral/aws-sdk-cpp,jt70471/aws-sdk-cpp,jt70471/aws-sdk-cpp,aws/aws-sdk-cpp,awslabs/aws-sdk-cpp,svagionitis/aws-sdk-cpp,JoyIfBam5/aws-sdk-cpp,svagionitis/aws-sdk-cpp,svagionitis/aws-sdk-cpp,awslabs/aws-sdk-cpp,svagionitis/aws-sdk-cpp,svagionitis/aws-sdk-cpp,awslabs/aws-sdk-cpp,JoyIfBam5/aws-sdk-cpp,aws/aws-sdk-cpp,jt70471/aws-sdk-cpp,jt70471/aws-sdk-cpp,aws/aws-sdk-cpp,cedral/aws-sdk-cpp,awslabs/aws-sdk-cpp,cedral/aws-sdk-cpp,aws/aws-sdk-cpp,JoyIfBam5/aws-sdk-cpp