[PATCH 3/5] shcore: Fix return value for file-based Commit().