Paul Thomas Anderson became only the second filmmaker to sweep film, director and screenplay honours.