fix a failed class import, move Filesystem dependency Worker => Plugin