Remove unnecessary begin/end.
Refactor Layout to be more like Dictionary.
Remove unused private attr_reader.
Use map! instead of bang on proc-method.
Remove unnecessary search path.

Empty string was added to account for absolute paths, but these will
already work due to them overriding the search paths.
Use Tempfile for tests instead of stubbing.
Refactor HeadAlgorithm.