Revert "Delete the security copies with .py~ extension"

This reverts commit c3e34687755c33c2beadb6d5da407cfce4a7bf32.