Update UploadHandler.php

change control characters and spaces from \x00..\x20 to using Unicode character properties.