Python 3 fixes in fsfdw