Fix some Vinyl weirdness

In one of my projects, the Vinyl file being passed in was not passing
the `instanceof Vinyl` check... weird. That was causing the name to get
mangled. I fixed it by explicitly casting the input file and checking
that it needs a name before setting one.
v1.6.1