Merge branch 'fix_write_sample_points' into 'master'

Offer the options to overwrite files. In case the file exists and the user did...

See merge request !25
3 jobs for master in 10 minutes and 59 seconds (queued for 2 seconds)