Perl Module to bind different filehandles toguether with buffering