Add a safe and persistent vsprintf handler.

This function should be inserted via binary hacks everywhere a game calls sprintf, as it guarantees a sufficiently large buffer for the result.

Closes #15.