[padrino-gen] Fix insert_middleware to apply proper spacing