Yes, it does overwrite existing files. You could probably
change this behavior by writing a subclass for Mime::Parser
to override some of the built-in functions it uses where
the filename is determined, but that's beyond the scope of
a snippet I think.