A simple stream wrapper for amdclean.