(epackage-autoload-create-on-file): Correct while loop and forward-sexp position

Signed-off-by: Jari Aalto <jari.aalto@cante.net>