Resolve "wipe_data.sh and other upgrade_* scripts are not properly generated from .in versions"

Closes #705

Edited by Francis Dupont

Merge request reports