Make serialise and outfileSuffix keyword arguments to convertDirectory() both accept callables; update docstring