Put a correct Dia persistence file in ~/.dia unless such a file exists. Fixes #1691.