[FEATURE] Lazy recreate files

Share files between html and singlehtml output.