fix: write rendered file