Use to_path on objects in $LOAD_PATH when possible