Fix checking if swap location is set to a writable location
QFileInfo::isWritable() doesn't work on NTFS by default, so we should just try to create a test fiel to check that.
BUG:411129 BUG:411081