Rename xs file
support in-memory source and input params
support either filehandle or string args