Fix maximum filename length