C++ API for (potentially) faster writing of rosbag's using O_DIRECT with memory alignment.