Use z as a placeholder char to ensure we never get an invalid filename