Auto change "." to "p" and " " to "_" in filenames.