replace tab with 4 spaces
BEGINNING_OF_FILE and ENDING_OF_FILE are tuples, don't save them in
scalar context
adjust begin of file for pam header; also handle missing module error
add unittests for update_pam_file