Fix #666 by implementing LoadError#path and related load logic.