fix dpl_setattr for directories (when path ends with '/')
Merge pull request #129 from scality/scality_svn

 fix dpl_setattr for directories (when path ends with '/')