Add an option to use the filename as the umd name

This is particularly handy for directories of standalone modules.