90edc9dd

By: Michael Lynch <git@mtlynch.io>

Collapse writeFromFS into convertAndWrite

writeFromFS was convertAndWrite with an identity (io.Copy) converter — the
two functions were identical except for the converter passed. Have
ImportMedia's switch select the converter (with a verbatim-copy closure for
photos) and call convertAndWrite once, removing the duplicated
open/defer-close/WriteConverted block. No behavior change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Suite timing

Time to Start Worker time Duration Time to finish
Config 2s 2m01s 2m03s 2m05s
Eval - - - -
Build - - - -
Suite 2s 2m01s 2m03s 2m05s

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s1m40s1m50s2m