Swift : Insecure manipulations with the file system