Use admin_post for hooking actions

Instead of hooking actions into the admin page load hook, use admin_post.

Original PR was here: https://github.com/humanmade/backupwordpress/pull/534