Add a test that we can create long filenames. refs #2235

Signed-off-by: Daira Hopwood <daira@jacaranda.org>