Store relative paths in layout files if appropriate.