Fix emacs and vim modelines in finapp templates