Throw IllegalArgumentException if filename argument of sendFile(...) poi...

...nts to a directory and not a file.