prepend_to_path: fixing bug with IFS manip, exporting PATH once per direction