Restore backward compatibility of mode_file option

Displays warning and then assumes the user provided a correct mode-file. Closes #658

(cherry picked from commit 2caa9eb9d4420ef0f8679892302c46ca55834115)