Limit version to four integers

Quick, and most likely nasty, fix to limit version number that is being copied from apk to four integers only. 
Tested with short version such as "3.2.4" and long version like "4.3.124.52.551"