Add exception to File::upload, add toString method to Dom\Child