gn2bp: Move 'sanitize_version_filepath' to base class

This method is needed for another subclass so it's better to move it to the base class and change the name.

Test: None
Change-Id: I763a5d30d9b35b585914f1c8dbb2d5989e1d55d6
1 file changed