Fix bug described in the following comment:
Fix bug described in the following comment:

https://github.com/addrummond/nodeftpd/issues/9#issuecomment-28270526

sstur/nodeftpd,impaler/nodeftpd,phillipgreenii/nodeftpd,oleksiyk/nodeftpd