Fix: when dynamo run in prod mode, it tried to compile templates as elixir files