Set headers based on file ext && fixes issue #32