ECL-299 FilesResource sendFile() -> brought back NP check for filename
(was removed by mistake..)