accept path to lockfile in Lockfile#initialize