erlc: rename variables for correctness
erlc: prepare clean FirstFiles

Make sure that FirstFiles has no dupes and preserves the proper order.
erlc: extend dot_erl/3 comment
erlc: relocate helper function