[aml] change sync to dirsync, improves write times by a factor of many