move dir parsing out of ftp.initialize, don't overwrite
new_resource.source