obey maxFileSize after compact
cleanup, bytesToBeWritten is not shared between compactor & db
use own directory for medea_compact_test