This is a consolidation effort, avoiding usage of naked strings in codebase. Whenever possible use constants which can be repurposed elsewhere. This also fixes `goconst ./...` reported issues.
This patch re-writes FS backend to support shared backend sharing locks for safe concurrent access across multiple servers.
Repeated code around both object layers are moved and combined into simple re-usable functions.