Ok, I figured out a way. I temporarily disabled auto-protect (that was the service quarantining it), restored the infected file, zipped it immediately and copied it over to where I needed it, then re-scanned the restored file so it would return to quarantine.