engine: fix error handling for e4defrag/falloc