Fix expansion of $file

The message warning of a missing shebang! line clearly intended to
output which file was missing the shebang, but instead it accidentally
invoked the file(1) command with no arguments, resulting in an error.