A file specfication can either be a COSString or a COSDictionary. This
will create the file specification either way.
Parameters: base - The cos object that describes the fs. The file specification for the COSBase object. throws: IOException - If there is an error creating the file spec.