Allow to use \input in document prelude

Allow to use "input, which will be converted in \input but appearing
before \begin{document}.