Fixed rename so that if the "to" directory is not empty, rename will not proceed
Fixed indention spacing
fixed rename bug (isssue 174) in container mode
Fixed Rename bug (issue 174)
Added Directory check (in rename) after unlink call to make sure mkdir and chown on directory only
Cleaned up code and checked return value in RenameOP
Re-arranged code based on Aarons comments
Merge pull request #208 from atorrez/master

Issue 174 Rename Bug Fix