Fixed wrong return value for is_uploaded_file() on Windows, closes #685