Some tweaks for managing file paths.