fix bug in dio_take_snapshot

also added option to skip rsync