fixed bug in fp2bin.py