Crypt::DSA versions through 1.19 for Perl use 2-args open, allowing existing files to be modified.
Upgrade to version 1.20