4859f703

By: Michael Lynch <git@mtlynch.io>

Move media path mapping into writers

Make MediaWriter responsible for mapping filenames to backend-relative paths so callers no longer pass a separate PathFor function alongside the writer. This keeps S3 subfolder handling encapsulated in the S3 writer and lets upload/import processing use Writer.PathFor consistently.
configuredevShellbackendbackend-devcheck-bashcheck-frontendcheck-go-formattingcheck-go-test-packagescheck-trailing-newlinecheck-trailing-whitespacedeploy-to-flydiagramdocker-imagee2e-testsgo-testsimport-from-tinybeanslint-sqllittle-momentslittle-moments-devx86_64-linux