Update feature_weighted_meth.py

For calculating weighted methylation for features in a gff file.

Uses HTSeq

This update adds of.flush and os.fsync(of.fileno()) to make sure output files are constantly updated in realtime.