Nikolay Sivov : shcore: Fix return value for file-based Commit().