Ignore operation-not-supported errors in fd_flush

to prevent hts_close() errors on Mac OS X.