modifyrepo: Add new option 'path' useful in situations where filename contains '[' or ']' character(s).