asynchronous fsync(ported from htc one by faux123)