Long filename support.

cbugg: close bug-299