HPCC-10590 Ignore ~ in subfile name from package

Can get xpath errors if the ~ is left in place.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>