minor fix on flat file item + making ServicesManager locable (= usable in a multi app context, server is the main example of it)