output_paths function

Generate modified file paths by adding prefixes and/or suffixes