Fix potential blocking of stdio pipes for backup/restore
Merge pull request #52 from jparyani/fix-backup

Fix potential blocking of stdio pipes for backup/restore