Deal with filenames being object

Some time recently CDNJS changed so some libraries have their filenames 
represented as objects with a `name` property, and others just have
`filename` as a string.