golang file operations fixes
Fix some golang num types