Cleans up LocalFilesystem and adds resolveLocalFilesystemURL.