fixed bug in recursive directory removal

Fixed the recursive removal function 'fs_clear'; it did not prune '.' and '..'
resulting in an infinite loop.
added conditional chunks

Implemented a conditional chunk for processing an alternate chunk given a null
input. Added a definition that allows substituting a string if an input chunk
is null.