fix -f and -F to work as expected
make it faster with cStringIO