Fix bugs in implementation of path::find_extension
Fix bugs in implementation of path::find_extension

No boundaries for searching were ever set in path::find_extension, resulting in find_extension returning the extension of intermediate directories

inoahdev/tbd,inoahdev/tbd