FileSaver: remove unused functions and dead code