Fix for ftp backup on RHEL5 and Ubuntu