Fix leo-project/leofs#277