Fix usage of ~ character to work on Windows.

Refs #10111
Merge remote-tracking branch 'origin/bugfix/10111_savelauenorm_usage_windows'