fix: require_dir -> require_directory, raise error if non-relative path is used with require_directory or require_tree