Create attributes correctly using pl.xml.
Create test/out directory.
Do not error when no files in test/out to remove.
Use single quotes to quote attribute value, to conform to pl.xml convention.
Removed home-brewed xml.lua.