MovieWriter was using get_basename() which strips the file extension
but keeps the filename, resulting in checking the current working
directory instead of the target output directory.
Changed to use get_base_dir() to properly extract the directory path
where the movie file will actually be written.
Fixes#113391