trim filename to 64 characters