Fixed incrementing the file mutex refcount.