async fsync from htc one (ported by faux123)