strip leading/trailing whitespace on staged file location field