Removes null bytes from url prior to passing to fs