tests: Add test case for backend file's path
buffer: Inherit path from backend at construction

Also mark BackendFile's path as construct only because there
is no machinery to change it after construction.