fixed some minors
set cache control and content type for some file types in s3