Fixes ERB template paths