Clean up some error messages paths and directory creation issues