Allow attributes other than files to be provided

Needed for implementing a simple requirejs step as we generate 'name' and 'out' attributes