Update pyzdmine-base.py

Changed 'w' to 'r+' when opening the file.