validate merge module name length and do not allow empty files on save. Refs #17083