fixed strain with / could not create files issue; Restricted set of
characters valid for a filename; fixed file rename handling extensions