Added file write options, but missing actual output functions
change name of RCU_error_codes.h to error_codes.h
rename. Note to self: use 'git mv' in future