TemporaryBufferDevice, handle writing empty data to empty buffer
TemporaryBufferDevice, fixed #include in implementation file