Extract version info into a separate file