Fixed CGL issues in AssetService
Always add the proper file extension (closes #2)