Fix gen_versioned_path when empty string is given
Add documentation about platform version setting