userspace filename length checking