Fix possible crash when setting linked files folder

This fixes FWNX-1062 "Flex can crash when adding an audio writing system".

Change-Id: Ibbffa8d6dbb269a3c4ffbafc51f734e6792b5c24