[app][ows_to_script] Set first filename directory as _dir if it's not given

1 job for ask_for_rsm in 5 minutes and 2 seconds (queued for 6 seconds)