A small crush washer below the screw helps, but mostly stop cranking in them like King Kong! The original screws were JIS, so they stripped likely due to the wrong screwdriver tip. The hex heads were probably soft zinc and got stuck too.
A decent button head cap screw in stainless with a washer should last until the bike dies a slow death. Provided you don't over tighten it...