function appendFileSync( path, data, options ) {
	try {
		if ( arguments.length > 2 ) {
			appendFile( path, data, options );
		} else {
			appendFile( path, data );
		}
	} catch ( err ) {
		return err;
	}
	return null;
}
Synchronously append data to a file, creating the file if it does not yet exist.

@param {(string|Buffer|integer)} path - file path or file descriptor
@param {(string|Buffer)} data - data to append
@param {(Object|string)} [options] - options
@returns {(Error|null)} error object or null

@example
var err = appendFileSync( './beep/boop.txt', 'data to append\n' );
if ( err instanceof Error ) {
    throw err;
}