a browserify transform plugin for export file to string