add -prefix flag to add a prefix to all stat paths