runonce: Fix a basename oversight This fixes an issue where we were accidentally concatenating two full absolute paths together for storing the script content hash to disk. Additionally, this ensures the script run status is flushed to disk after each successful run. Change-Id: Idd1d8670dc576e3fc6a72d5b4072a981e116274c