rename screwed up - do not push
fix rename() function to allow for renaming directories
merge in fix for directory renaming
dynamic dirs working for all but SQL error reporting
replace length field with size
SQL_ERROR created as real file in dynamic directory; however unlinking leads to deep recursion