Posts are now generated correctly.

Fixed bug where .swp files would be parsed resulting in a failed
post generation.