Try to fix filename boundaries.