Added missing _expand_path call in (non-GNU) sed.