Fixes #493 Check for invalid file name
Fixes #493 Check for invalid file name

Checking for invalid file name including invalid characters ',/\:*?"<>|'
and all spaces. Any spaces before and after the file name are being trimmed.
The case mentioned in the issue "test.xml " will be treated as "test.xml"

Signed-off-by: Sridhar Meda <4c7fcba0a8a1e8d26ffef9db12f8e0218c968927@lexisnexis.com>

afishbeck/HPCC-Platform,afishbeck/HPCC-Platform,afishbeck/HPCC-Platform,afishbeck/HPCC-Platform,afishbeck/HPCC-Platform,afishbeck/HPCC-Platform