sw: fix temp file leak in SwIoSystem::GetFileFilter()

Change-Id: Id483d58a9de27a247880aedfe6bb3fe1d410129c
sw: remove more dead code from SwIoSystem::GetFileFilter()

Change-Id: I53cadf01246faf3c4b54ee360db19bde2dcb98cc