FileSaver class base implementation