FIX issue with blanks characters on Directory::put* methods