Use atomic APPEND write mode for writing source spaces to .catkin marker file

Same as #671 but fixes #670 for groovy/hydro.